using Net35.Xrm.Sdk;
using System;
using System.Runtime.Serialization;
namespace Net35.Crm.Sdk.Messages
{
	[DataContract(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed class CopyCampaignRequest : OrganizationRequest
	{
		public Guid BaseCampaign
		{
			get
			{
				if (base.Parameters.Contains("BaseCampaign"))
				{
					return (Guid)base.Parameters["BaseCampaign"];
				}
				return default(Guid);
			}
			set
			{
				base.Parameters["BaseCampaign"] = value;
			}
		}
		public bool SaveAsTemplate
		{
			get
			{
				return base.Parameters.Contains("SaveAsTemplate") && (bool)base.Parameters["SaveAsTemplate"];
			}
			set
			{
				base.Parameters["SaveAsTemplate"] = value;
			}
		}
		public CopyCampaignRequest()
		{
			base.RequestName = "CopyCampaign";
			this.BaseCampaign = default(Guid);
			this.SaveAsTemplate = false;
		}
	}
}
